package com.suxin.http.request;

import com.suxin.http.model.HttpRestResult;

/**
 * @author Tang
 * @classname Callback
 * @description [  ]
 * @date 2023/3/5 19:41
 */
public interface Callback<T> {

    void onReceive(HttpRestResult<T> restResult);

    void onError(Throwable error);

}
